<template>
  <div class="top-panel">
    <div class="income">
      <div class="top">
        <div class="left">
          <div>收入</div>
          <div class="value">1033333万元</div>
        </div>
        <div class="right">
          <div class="top">
            融资利息收入<span class="value">211111.00</span>万元
          </div>
          <div class="bottom">佣金收入<span class="value">8.12</span>万元</div>
        </div>
      </div>
      <div class="bottom">昨日新增 <span class="value">1.00</span>万元</div>
    </div>
    <div class="customer">
      <div class="item-top">客户(户)<span class="value">230</span></div>
      <div class="item-bottom">昨日新增<span class="value">230</span></div>
    </div>
    <div class="customer">
      <div class="item-top">客户(户)<span class="value">230</span></div>
      <div class="item-bottom">昨日新增<span class="value">230</span></div>
    </div>
    <div class="customer">
      <div class="item-top">客户(户)<span class="value">230</span></div>
      <div class="item-bottom">昨日新增<span class="value">230</span></div>
    </div>
    <div class="customer">
      <div class="item-top">客户(户)<span class="value">230</span></div>
      <div class="item-bottom">昨日新增<span class="value">230</span></div>
    </div>
  </div>
</template>

<script>
export default {
  name: "TopPanel",
};
</script>

<style lang="less" scoped>
.top-panel {
  display: flex;
  justify-content: space-between;
  column-gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  .value {
    font-family: fangsong;
    font-weight: bold;
    // background-color: #bf0000;
    padding: 1px 2px;
    border-radius: 5px;
    color: #bf0000;
  }
  .income {
    width: 360px;
    padding: 8px 10px;
    background-color: #fff;
    .top {
      height: 40px;
      display: flex;
      .left {
        width: 120px;
        height: 100%;
        border-right: solid 2px #d0c4c4;
      }
      .right {
        padding-left: 10px;
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        .bottom {
          text-align: left;
          border-top: solid 1px #d0c4c4;
          padding-left: 0px;
        }
      }
    }
    .bottom {
      height: 20px;
      line-height: 20px;
      padding-left: 40px;
      margin-top: 5px;
      text-align: left;
    }
  }
  .customer {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    align-items: center;
    justify-content: center;
    row-gap: 10px;
  }
  // .trade {
  //   flex: 1;
  //   background-color: #fff;
  // }
  // .credit {
  //   flex: 1;
  //   background-color: #fff;
  // }
  // .financing {
  //   width: 360px;
  //   background-color: #fff;
  // }
}
</style>
